const ConstDef = {

  OPERATION_FLAG: "003",
  OPERATION_FLAG_NEW: "1",
  OPERATION_FLAG_UPDATE: "2",
  OPERATION_FLAG_DELETE: "3",
  OPERATION_FLAG_UNCHANGED: "4",

  ND_CODE: "006",
  ND_CODE_ND: "001",
  ND_CODE_FD: "002",
  ND_CODE_TYPE_MAPPING_ND: "003",
  ND_CODE_PARTY_ND: "004",
  ND_CODE_PARTY_ACCOUNT_ND: "005",
  ND_CODE_MD: "006",
  ND_CODE_MD_VALUE: "007",
  ND_CODE_RD: "008",
  ND_CODE_RULE_ND: "009",
  ND_CODE_TASK_ND: "010",
  ND_CODE_TASK_FILTER_ND: "011",
  ND_CODE_MENU: "ndMenu",
  ND_CODE_LAYOUT: "layoutNd",
  CONTROL_TYPE: "016",
  CONTROL_TYPE_TEXT: "01",
  CONTROL_TYPE_LIST: "02",
  CONTROL_TYPE_DATE_INPUT: "03",
  CONTROL_TYPE_BUTTON: "04",
  CONTROL_TYPE_TREE: "05",
  CONTROL_TYPE_SWITCH: "06",
  CONTROL_TYPE_FILTER_SELECT: "07",
  CONTROL_TYPE_AUTO_COMPLETE: "08",
  CONTROL_TYPE_DATA_SOURCE_SELECT: "09",
  CONTROL_TYPE_FILTER_INPUT: "10",
  CONTROL_TYPE_DATETIME_INPUT: "11",
  CONTROL_TYPE_TEXT_AREA: "12",
  CONTROL_TYPE_TREE_SELECT: "13",

  TRANSACTION_TYPE: "009",
  TRANSACTION_TYPE_COMMIT: "01",
  TRANSACTION_TYPE_WORKFLOW: "02",
  SHOW_TYPE: "017",
  SHOW_TYPE_FORM: "01",
  SHOW_TYPE_GRID: "02",
  SHOW_TYPE_TREE: "03",

  FUNCTION_CODE: "028",
  FUNCTION_CODE_SAVE: "001", // 保存
  FUNCTION_CODE_COMMIT: "002", // 提交
  FUNCTION_CODE_DELETE: "003", // 删除
  FUNCTION_CODE_ADD: "004", // 增加
  FUNCTION_CODE_FILTER: "005", // 查询
  FUNCTION_CODE_EDIT: "006", // 编辑
  FUNCTION_CODE_CURSIVE_TREE_CHANGE: "007", // 递归树控件发生变化
  FUNCTION_CODE_COPY: "008", // 复制
  FUNCTION_CODE_ADD_NODE: "009", // 增加节点
  FUNCTION_CODE_DELETE_NODE: "010", // 删除节点
  FUNCTION_CODE_ADD_NV: "011", // 增加实例
  FUNCTION_CODE_COPY_NV: "012", // 复制实例
  FUNCTION_CODE_COMMIT_CHOOSE: "013", // 选择
  FUNCTION_CODE_DIALOG_FILTER: "014", // 单选弹框
  FUNCTION_CODE_ADD_NV_CHOOSE_ND: "015", // 选择Nd创建
  FUNCTION_CODE_CREATE_DEFAULT_ENTRY_LAYOUT: "016", // 创建默认页面
  FUNCTION_CODE_CREATE_DEFAULT_CONDITION_LAYOUT: "017", // 创建默认查询条件页面
  FUNCTION_CODE_CREATE_DEFAULT_RESULT_LAYOUT: "018", // 创建默认查询结果页面
  FUNCTION_CODE_CREATE_DEFAULT_DB_MAP: "019", // 创建默认查数据映射
  FUNCTION_CODE_ROW_EDIT: "020", // 行编辑
  ENTRY_FUNCTION: "029",
  FILTER_FUNCTION: "030",

  MODULE_CODE: "031",
  MODULE_CODE_ENTRY: "01",
  MODULE_CODE_FILTER: "02",
  MODULE_CODE_STEPS: "03",

  BUTTON_POSITION: "027",
  BUTTON_POSITION_NORMAL: "1",
  BUTTON_POSITION_TOOLBAR: "2",
  BUTTON_POSITION_GRID_OPERATION: "3",

  LAYOUT_EXTENSION_TYPE: "032",
  LAYOUT_EXTENSION_TYPE_TREE_DETAIL: "01", // 树节点明细
  LAYOUT_EXTENSION_TYPE_EXTERNAL_DATA_SOURCE: "02", // 外部数据源
  FD_LAYOUT_EXTENSION: "033",
  FD_LAYOUT_EXTENSION_LINK: "01",
  FD_LAYOUT_EXTENSION_QUERY_LAYOUT: "02", // 页面查询扩展
  FD_LAYOUT_EXTENSION_ENTRY: "03", // 录入扩展
  ND_CATEGORY: "034",
  ND_CATEGORY_MD: "01",
  ND_LAYOUT__MAP: "035",
  FILTER_EXT_TYPE: "036",
  PAGE_TYPE: "037", // 分页类性
  PAGE_TYPE_NONE: "1", // 不分页
  PAGE_TYPE_PAGE: "2", // 分页
  FRONT_RULE_STAGE: "039",
  FRONT_RULE_CLICK: "01",
  FRONT_RULE_MOUNTED: "02",
  FRONT_RULE_LOST_FOCUS: "03",
  FRONT_RULE_BEFORE_MOVE_NEXT: "04", // 移动到下一步
  COMPOSITE_FUNCTION: "040", // 多个组合功能
  LAYOUT_CODE: "041", // 页面布局代码
  LAYOUT_CODE_LAYOUT: "layoutTreeLayout", // 布局录入页面
  LAYOUT_CODE_ND: "ndTreeLayout", // nd录入页面
  LAYOUT_CODE_DB_MAP: "dbMappingLayout" // 数据映射录入页面
}
export default ConstDef;
